package com.hhit.bigscreenbackmanage.dao.zlgl;

import cn.hutool.json.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.hhit.bigscreenbackmanage.entity.zlgl.TZlglActualMeasurement;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 实测实量
 */
@Repository
public interface TZlglActualMeasurementMapper {

    //查询实测实量
    List<TZlglActualMeasurement> getTZlglActualMeasurementAll(JSONObject jSONObject);

    //导入实测实量
    void insertTZlglActualMeasurement(@Param("list") List<TZlglActualMeasurement> list);

    /**
     * @Description: 批量删除实测实量
     * @Author: qianchengcheng 
     * @Date: 2021/8/20 15:17
     * @Param: [ids] 
     * @Return: int
     **/
    int batchDeleteZlglActualMeasurementByIds(@Param("ids") List<String> ids);

    //查询实测实量-设备
    List<TZlglActualMeasurement> getTZlglActualMeasurementEquipmentAll(JSONObject jSONObject);

    //导入实测实量-设备
    void insertTZlglActualMeasurementEquipment(@Param("list") List<TZlglActualMeasurement> list);

    /**
     * @Description: 批量删除实测实量-设备
     * @Author: qianchengcheng 
     * @Date: 2021/8/20 15:02
     * @Param: [ids] 
     * @Return: int
     **/
    int batchDeleteZlglActualMeasurementEquipmentByIds(@Param("ids") List<String> ids);

    //查询实测实量-桩基
    List<TZlglActualMeasurement> getTZlglActualMeasurementPileFoundationAll(JSONObject jSONObject);

    //导入实测实量-桩基
    void insertTZlglActualMeasurementPileFoundation(@Param("list") List<TZlglActualMeasurement> list);

    /**
     * @Description: 批量删除 实测实量-桩基
     * @Author: qianchengcheng 
     * @Date: 2021/8/20 15:21
     * @Param: [ids] 
     * @Return: int
     **/
    int batchDeleteZlglActualMeasurementPileFoundationByIds(@Param("ids") List<String> ids);

    //实测实量-问题、整改数
    List<Map<String,Object>> getScslTj(JSONObject json);

    List<TZlglActualMeasurement> getZbmx(JSONObject json);

}
